﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Demo610
{
    public partial class Index : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            //打印欢迎信息 同时获取Session对象中的数据
            Literal1.Text ="您好，"+ (string)Session["username"];
        }
    }
}